package com.haoze.nurse.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 病历目录管理实体
 * @author fcx
 * @date 2019年2月28日09:38:01
 */
@Table(name = "EMR_CATALOG")
public class EmrCatalogEntity extends BaseEntity {

    @Id
    @Column(name = "CTL_ID")
    private String ctlId; // 病历目录树ID，，，主键

    @Column(name = "PARENT_CTL_ID")
    private String parentCtlId; // 病历目录树父节点ID，，，根节点为0

    @Column(name = "CTL_CODE")
    private String ctlCode; // 目录编码，，，电子病历目录代码

    @Column(name = "CTL_NAME")
    private String ctlName; // 目录名称

    @Column(name = "CTL_IMAGE")
    private String ctlImage; // 目录图片

    @Column(name = "DOCTOR_MODE")
    private String doctorMode; // 医生病历操作方式，，FD000236，0不可见 1可见 2可见只读 3可见编辑

    @Column(name = "NURSE_MODE")
    private String nurseMode; // 护士病历操作方式，，FD000236，0不可见 1可见 2可见只读 3可见编辑

    @Column(name = "VIEW_MODE")
    private String viewMode; // 浏览者操作方式，，FD000236，0不可见 1可见 2可见只读 3可见编辑

    @Column(name = "OPEN_VIEW")
    private String openView; // 打开界面

    @Column(name = "EDIT_MODE")
    private String editMode; // 编辑方式，，FD000029，0 合并编辑 1 独立编辑

    @Column(name = "CREATE_MODE")
    private String createMode; // 病历创建份数，，FD000271，0 只能创建一份 1 能创建多份

    @Column(name = "REMARK")
    private String remark; // 目录备注，DE06.00.179.00

    @Column(name = "SORT_ID")
    private Integer sortId; // 排序号

    @Column(name = "STOP_FLAG")
    private String stopFlag; // 停用标志，，FD000011，0 启用 1 停用

    @Column(name = "CTL_TYPE")
    private String ctlType; // 目录适用人群，，FD000270，1普通 2婴儿

    @Column(name = "PY_CODE")
    private String pyCode; // 拼音码

    @Column(name = "WB_CODE")
    private String wbCode; // 五笔码

    @Column(name = "OPEN_VIEW_URL")
    private String openViewUrl; // 打开界面对应的URL

    @Column(name = "EMR_TYPE")
    private String emrType; // 病历类型，，FD000223，1：住院病历，2：病程记录，打开界面是病历文书时有效。

    @Column(name = "DATASET_ID")
    private String datasetId; // 数据集ID，，，关联EMR_DATA_SET.DATASET_ID
    
    @Column(name = "RECORD_TYPES")
    private String recordTypes;

    @Column(name = "PRINT_TYPE")
    private String printType;

    @Column(name = "FIRST_FLAG")
    private String firstFlag;//是否校验首次病程   ("1","否"),("0","是"),

    public String getFirstFlag() {
        return firstFlag;
    }

    public void setFirstFlag(String firstFlag) {
        this.firstFlag = firstFlag;
    }

    public String getCtlId() {
        return ctlId;
    }

    public void setCtlId(String ctlId) {
        this.ctlId = ctlId;
    }

    public String getParentCtlId() {
        return parentCtlId;
    }

    public void setParentCtlId(String parentCtlId) {
        this.parentCtlId = parentCtlId;
    }

    public String getCtlCode() {
        return ctlCode;
    }

    public void setCtlCode(String ctlCode) {
        this.ctlCode = ctlCode;
    }

    public String getCtlName() {
        return ctlName;
    }

    public void setCtlName(String ctlName) {
        this.ctlName = ctlName;
    }

    public String getCtlImage() {
        return ctlImage;
    }

    public void setCtlImage(String ctlImage) {
        this.ctlImage = ctlImage;
    }

    public String getDoctorMode() {
        return doctorMode;
    }

    public void setDoctorMode(String doctorMode) {
        this.doctorMode = doctorMode;
    }

    public String getNurseMode() {
        return nurseMode;
    }

    public void setNurseMode(String nurseMode) {
        this.nurseMode = nurseMode;
    }

    public String getViewMode() {
        return viewMode;
    }

    public void setViewMode(String viewMode) {
        this.viewMode = viewMode;
    }

    public String getOpenView() {
        return openView;
    }

    public void setOpenView(String openView) {
        this.openView = openView;
    }

    public String getEditMode() {
        return editMode;
    }

    public void setEditMode(String editMode) {
        this.editMode = editMode;
    }

    public String getCreateMode() {
        return createMode;
    }

    public void setCreateMode(String createMode) {
        this.createMode = createMode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    public String getCtlType() {
        return ctlType;
    }

    public void setCtlType(String ctlType) {
        this.ctlType = ctlType;
    }

    public String getPyCode() {
        return pyCode;
    }

    public void setPyCode(String pyCode) {
        this.pyCode = pyCode;
    }

    public String getWbCode() {
        return wbCode;
    }

    public void setWbCode(String wbCode) {
        this.wbCode = wbCode;
    }

    public String getOpenViewUrl() {
        return openViewUrl;
    }

    public void setOpenViewUrl(String openViewUrl) {
        this.openViewUrl = openViewUrl;
    }

    public String getEmrType() {
        return emrType;
    }

    public void setEmrType(String emrType) {
        this.emrType = emrType;
    }

    public String getDatasetId() {
        return datasetId;
    }

    public void setDatasetId(String datasetId) {
        this.datasetId = datasetId;
    }

		public String getRecordTypes() {
			return recordTypes;
		}

		public void setRecordTypes(String recordTypes) {
			this.recordTypes = recordTypes;
		}

    public String getPrintType() {
        return printType;
    }

    public void setPrintType(String printType) {
        this.printType = printType;
    }
}
